package org.itsolutions.javaBackup.gui.web.common;

/**
 * Interface used for applications, that needs authentication.
 * @author Tomas Fecko
 */
public interface IAutenticatedApplication {


	/**
	 * 
	 * @param pLogin login
	 * @param pPassword password
	 * @return true, if login is successfull
	 */
	boolean login(String pLogin, String pPassword);
	
	/**
	 * Logout.
	 */
	void logout();
	
	/**
	 * Method is called, after login is successfull. (login method returns true)
	 */
	void initProtected();
}




